package com.firmye.resa;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication(scanBasePackages = {"com.firmye.resa","com.firmye.publicmodule"})
@RestController
public class ResAApplication {

    @GetMapping("/hello")
    public String hello(){
        return "hello";
    }

    @GetMapping("/api/user")
    public String user(){
        return "user";
    }

    public static void main(String[] args) {
        SpringApplication.run(ResAApplication.class, args);
    }
}
